
package graficafinal;

public class Point {
   private int x;
   private int y;

   public Point(int X, int Y){
    this.x = X;
    this.y = Y;
   }

   public void setX(int x){
     this.x = x;
   }

   public int getX(){
      return x;
   }

   public void setY(int y){
   this.y = y;
   }
   
   public int getY(){
     return y;
   }

}
